home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / doc / www-talk.archive.Z / www-talk.archive / text0407.txt < prev    next >
Encoding:
Text File  |  1992-11-30  |  2.3 KB  |  57 lines

  1. timbl wrote:
  2. > >  From: jim@wilbur.njit.edu (Jim Whitescarver)
  3. > >  The preformatted tag, PRE, unlike <PLAINTEXT>, allows anchors etc. to be 
  4. > >  inserted in text that is already formatted.  It greatly simplifies the
  5. > >  task of importing text from independant applications will anchors
  6. > >  everywhere you want them.  In addition, we have a set of macros for
  7. > >  MS-word which allow editing HTML in WYSIWYG fashion, but this also
  8. > >  requires support of the preformatted tag in HTML.
  9. > >  
  10. > The <PRE> tag is important, and much better SGML than the XMP tag.
  11. > I suggest that editors (including the NeXTStep editor, which I propose
  12. > to fix) which read <XMP> should save <PRE>.  I have only one
  13. > misgiving abou the format as is, and that is that newlines are
  14. > significant.
  15. > When you allow anchors and other tags to be put into the text, the
  16. > lines can become very long, and most applications will want to keep them
  17. > limited for mailing, viewing, etc.  As the PRE files you have
  18. > currently include <P> tags for blank lines, why not put a <p>
  19. > at the end of every line? This would make the processing of <PRE>
  20. > almost identical to the default text processing, except for the font.
  21. > I also wonder whether FIXED might be more apt than PRE.
  22. > Any comments?
  23.  
  24. I think the <PRE> tag is a great idea, too.  The problem with not
  25. having newlines significant is that it makes it difficult to do
  26. indenting, etc.  One of the reasons the <PRE> tag is nice is that you
  27. can take text (eg, manual entries) and not worry about formatting:
  28.  
  29. eg
  30.  
  31. OPTIONS
  32.  
  33.   -b   this option performs the blah command.  And if this line is
  34.        reasonably long, I can demonstrate what I'm talking about.
  35.  
  36.   -f   this option performs the foo command.  Another annoying prob-
  37.        lem is hyphenation.
  38.  
  39.  
  40. This sort of thing caused me quite a lot of bother in the first
  41. version of my manual page formatter.  If the newline is not
  42. significant, then does it put lots of spaces between the 'is' and the
  43. 'reasonably', or does it join them with a space?  Also, if the new
  44. break was to be between 'can' and 'demonstrate' (for example), how
  45. would the browser know where to start the new line ('demonstrate').
  46.  
  47. The only misgiving I have about it is that you are formatting text for
  48. a set width, something avoided in the past, but I think the value of
  49. having good-looking formatted text outweighs this.
  50.  
  51. rik.
  52.